package com.bb;

public class StaticInnerOuterClass {
    private int prop1 = 5;
    private static int prop2 = 9;
    public static class StaticInnerClass {
        private static int age;
        public void accessOuterProp() {
            // 这行代码讲发生错误：静态内部类无法访问外部类的示例成员
            // System.out.println(prop1);
            System.out.println(prop2);
        }
    }
}
